package com.datawin.taotaocheche.ui.actviity.login.contract;

import com.datawin.taotaocheche.base.BasePresenter;
import com.datawin.taotaocheche.base.BaseView;

/**
 * Created by Administrator on 2017/10/25.
 */

public interface LoginContract {

    interface View extends BaseView {
        void showLayout(boolean ishow);
        void countDown();
        void showPwdType(int type, boolean isshow);
//        void clearInput();
    }
    interface LoginPresenter extends BasePresenter {
        void login(String mobile, String password, String alias, boolean isSave);
        void showLoginOrRegister(boolean isShow);
        void getCode(String phone);
        void register(String phone, final String password, String vaidCode, String alias);
        void toForget();
        void showPwd(int type, boolean isshow);
    }
}
